package br.com.knowledge.view.struts.actions;

import org.apache.struts2.convention.annotation.Action;
import org.apache.struts2.convention.annotation.Namespace;
import org.apache.struts2.convention.annotation.Result;
import org.apache.struts2.convention.annotation.ResultPath;
import org.apache.struts2.interceptor.SessionAware;
import org.apache.struts2.interceptor.validation.SkipValidation;
import com.opensymphony.xwork2.ActionSupport;


@Namespace("/")
@ResultPath("/")
public class ControlesGerais extends ActionSupport{

	@SkipValidation
    @Action(value = "pagina-inicial", results = {
    @Result(name = SUCCESS, location = "/pages/inicial.jsp")})                
    public String paginaIncial() {
            return SUCCESS;
    }    

	
	@SkipValidation
    @Action(value = "help-suport", results = {
    @Result(name = SUCCESS, location = "/pages/helpSuport.jsp")})
    public String helpSuport() {

            return SUCCESS;
    }

	@SkipValidation
	@Action(value = "help-sobre", results = {
    @Result(name = SUCCESS, location = "/pages/helpSobre.jsp")})
    public String helpSobre() {
        return SUCCESS;
	}
}

